<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>show_ballots module documentation &mdash; &lt;project&gt;</title>
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '0.2beta',
        COLLAPSE_MODINDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="&lt;project&gt;" href="index.html" />
    <link rel="up" title="TEVS tools" href="tools.html" />
    <link rel="next" title="scancontrol module documentation" href="scancontrol.html" />
    <link rel="prev" title="main module documentation" href="main.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="modindex.html" title="Global Module Index"
             accesskey="M">modules</a> |</li>
        <li class="right" >
          <a href="scancontrol.html" title="scancontrol module documentation"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="main.html" title="main module documentation"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">&lt;project&gt;</a> &raquo;</li>
          <li><a href="tools.html" accesskey="U">TEVS tools</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="module-show_ballots">
<h1>show_ballots module documentation<a class="headerlink" href="#module-show_ballots" title="Permalink to this headline">¶</a></h1>
<dl class="class">
<dt id="show_ballots.App">
<em class="property">class </em><tt class="descname">App</tt><big>(</big><em>topwindow</em><big>)</big><a class="headerlink" href="#show_ballots.App" title="Permalink to this definition">¶</a></dt>
<dd><dl class="method">
<dt id="show_ballots.App.button_press_cb">
<tt class="descname">button_press_cb</tt><big>(</big><em>event</em>, <em>data</em><big>)</big><a class="headerlink" href="#show_ballots.App.button_press_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.configure_cb">
<tt class="descname">configure_cb</tt><big>(</big><em>da</em>, <em>event</em>, <em>data</em><big>)</big><a class="headerlink" href="#show_ballots.App.configure_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.contbutton_cb">
<tt class="descname">contbutton_cb</tt><big>(</big><em>button</em>, <em>data</em><big>)</big><a class="headerlink" href="#show_ballots.App.contbutton_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.count_all_cb">
<tt class="descname">count_all_cb</tt><big>(</big><em>ta</em><big>)</big><a class="headerlink" href="#show_ballots.App.count_all_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.create_filelist_from_dir">
<tt class="descname">create_filelist_from_dir</tt><big>(</big><em>this_dir</em><big>)</big><a class="headerlink" href="#show_ballots.App.create_filelist_from_dir" title="Permalink to this definition">¶</a></dt>
<dd>Creates a list of all image files under a specified directory,
pops the first entry in the list into App.on_deck_filename,
and sets the file listing as App.all_images</dd></dl>

<dl class="method">
<dt id="show_ballots.App.create_names">
<tt class="descname">create_names</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.create_names" title="Permalink to this definition">¶</a></dt>
<dd>Creates a list of filenames from a number range,
such that the filename list can be used in place
of the filename list generated by walking a directory tree.</dd></dl>

<dl class="method">
<dt id="show_ballots.App.displayNextFile">
<tt class="descname">displayNextFile</tt><big>(</big><em>filename</em><big>)</big><a class="headerlink" href="#show_ballots.App.displayNextFile" title="Permalink to this definition">¶</a></dt>
<dd>For now, the only processing we do is count the votes</dd></dl>

<dl class="method">
<dt id="show_ballots.App.done_cb">
<tt class="descname">done_cb</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#show_ballots.App.done_cb" title="Permalink to this definition">¶</a></dt>
<dd>Cancel any registered after function and set stopped True.
Then set on_deck to None and set list of files to check to None</dd></dl>

<dl class="method">
<dt id="show_ballots.App.donotdelete">
<tt class="descname">donotdelete</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.donotdelete" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.enterTheVotesInCSVFile">
<tt class="descname">enterTheVotesInCSVFile</tt><big>(</big><em>votes</em>, <em>outfile='votes.csv'</em><big>)</big><a class="headerlink" href="#show_ballots.App.enterTheVotesInCSVFile" title="Permalink to this definition">¶</a></dt>
<dd>Write the votes string to file votes.csv</dd></dl>

<dl class="method">
<dt id="show_ballots.App.enterTheVotesInDictionary">
<tt class="descname">enterTheVotesInDictionary</tt><big>(</big><em>votes</em><big>)</big><a class="headerlink" href="#show_ballots.App.enterTheVotesInDictionary" title="Permalink to this definition">¶</a></dt>
<dd>The votes dictionary is keyed by dashcode, contest, and choice;
this function takes a string with fields separated by commas
and records by newlines, skips the first field and uses the next
three as key components and the final as value.</dd></dl>

<dl class="method">
<dt id="show_ballots.App.enterTheVotesInExcel">
<tt class="descname">enterTheVotesInExcel</tt><big>(</big><em>votes</em><big>)</big><a class="headerlink" href="#show_ballots.App.enterTheVotesInExcel" title="Permalink to this definition">¶</a></dt>
<dd>Write the votes string to an xlwt object that will
eventually write to votes.xls.
The object may end up taking a lot of memory, in 
which case we&#8217;ll need to look at alternatives.</dd></dl>

<dl class="method">
<dt id="show_ballots.App.every_twentieth">
<tt class="descname">every_twentieth</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#show_ballots.App.every_twentieth" title="Permalink to this definition">¶</a></dt>
<dd>Toggle the Tkinter variable skip_count between 1 and 20</dd></dl>

<dl class="method">
<dt id="show_ballots.App.expose_cb">
<tt class="descname">expose_cb</tt><big>(</big><em>da</em>, <em>event</em>, <em>data2</em><big>)</big><a class="headerlink" href="#show_ballots.App.expose_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.files_for_precinct_cb">
<tt class="descname">files_for_precinct_cb</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#show_ballots.App.files_for_precinct_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.files_from_external_file_list_cb">
<tt class="descname">files_from_external_file_list_cb</tt><big>(</big><em>extra</em><big>)</big><a class="headerlink" href="#show_ballots.App.files_from_external_file_list_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.files_not_in_sequence">
<tt class="descname">files_not_in_sequence</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.files_not_in_sequence" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.files_with_matching_string">
<tt class="descname">files_with_matching_string</tt><big>(</big><em>matchstr</em><big>)</big><a class="headerlink" href="#show_ballots.App.files_with_matching_string" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.files_with_nonvote_matching_intensity">
<tt class="descname">files_with_nonvote_matching_intensity</tt><big>(</big><em>start=216</em>, <em>end=230</em><big>)</big><a class="headerlink" href="#show_ballots.App.files_with_nonvote_matching_intensity" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.files_with_overvotes">
<tt class="descname">files_with_overvotes</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.files_with_overvotes" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.files_with_vote_matching_intensity">
<tt class="descname">files_with_vote_matching_intensity</tt><big>(</big><em>start=206</em><big>)</big><a class="headerlink" href="#show_ballots.App.files_with_vote_matching_intensity" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.flag_cb">
<tt class="descname">flag_cb</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#show_ballots.App.flag_cb" title="Permalink to this definition">¶</a></dt>
<dd>Output the name of the current file, and the fact it was flagged.</dd></dl>

<dl class="method">
<dt id="show_ballots.App.go_cb">
<tt class="descname">go_cb</tt><big>(</big><em>button</em>, <em>data</em><big>)</big><a class="headerlink" href="#show_ballots.App.go_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.increment_file_number">
<tt class="descname">increment_file_number</tt><big>(</big><em>inc</em><big>)</big><a class="headerlink" href="#show_ballots.App.increment_file_number" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.key_press_cb">
<tt class="descname">key_press_cb</tt><big>(</big><em>window</em>, <em>event</em><big>)</big><a class="headerlink" href="#show_ballots.App.key_press_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.listSelection">
<tt class="descname">listSelection</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#show_ballots.App.listSelection" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.motion_notify_cb">
<tt class="descname">motion_notify_cb</tt><big>(</big><em>da</em>, <em>event</em><big>)</big><a class="headerlink" href="#show_ballots.App.motion_notify_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.next_cb">
<tt class="descname">next_cb</tt><big>(</big><em>button</em>, <em>data</em><big>)</big><a class="headerlink" href="#show_ballots.App.next_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.next_filename">
<tt class="descname">next_filename</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.next_filename" title="Permalink to this definition">¶</a></dt>
<dd>Return the name of the next image file to process, 
skipping App.skip_count worth of files.  
App.skip_count can be set to 20 from the menu to give
a quick 5% count of a directory tree.</dd></dl>

<dl class="method">
<dt id="show_ballots.App.notebook_configure_cb">
<tt class="descname">notebook_configure_cb</tt><big>(</big><em>da</em>, <em>event</em><big>)</big><a class="headerlink" href="#show_ballots.App.notebook_configure_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.notebook_expose_cb">
<tt class="descname">notebook_expose_cb</tt><big>(</big><em>da</em>, <em>event</em>, <em>data2</em><big>)</big><a class="headerlink" href="#show_ballots.App.notebook_expose_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.outputTheVoteDictionary">
<tt class="descname">outputTheVoteDictionary</tt><big>(</big><em>label='Report'</em>, <em>pdf=True</em>, <em>precincts=False</em><big>)</big><a class="headerlink" href="#show_ballots.App.outputTheVoteDictionary" title="Permalink to this definition">¶</a></dt>
<dd>Takes the vote dictionary, converts dash codes to precincts
if possible, sorts once by classifier and once by contest, and, 
for each sorting, creates PDF using ElectionReport,
and returns text suitable for output to txt file.</dd></dl>

<dl class="method">
<dt id="show_ballots.App.pause_cb">
<tt class="descname">pause_cb</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#show_ballots.App.pause_cb" title="Permalink to this definition">¶</a></dt>
<dd>Output the name of the current file, and the fact we have paused.</dd></dl>

<dl class="method">
<dt id="show_ballots.App.pause_command">
<tt class="descname">pause_command</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#show_ballots.App.pause_command" title="Permalink to this definition">¶</a></dt>
<dd>See pause_cb
Cancel any registered after function and set stopped (stopped) True.</dd></dl>

<dl class="method">
<dt id="show_ballots.App.prev_cb">
<tt class="descname">prev_cb</tt><big>(</big><em>button</em>, <em>data</em><big>)</big><a class="headerlink" href="#show_ballots.App.prev_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.process_external_file_list">
<tt class="descname">process_external_file_list</tt><big>(</big><em>list_file</em><big>)</big><a class="headerlink" href="#show_ballots.App.process_external_file_list" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.quitfromdelete">
<tt class="descname">quitfromdelete</tt><big>(</big><em>e</em>, <em>d</em>, <em>f</em><big>)</big><a class="headerlink" href="#show_ballots.App.quitfromdelete" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.quitplease">
<tt class="descname">quitplease</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#show_ballots.App.quitplease" title="Permalink to this definition">¶</a></dt>
<dd>Quit</dd></dl>

<dl class="method">
<dt id="show_ballots.App.repeater">
<tt class="descname">repeater</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.repeater" title="Permalink to this definition">¶</a></dt>
<dd>repeater is a function that measures elapsed time,
decrements the slider in the gui, and registers trigger
as an after_idle func when enough time has elapsed.</dd></dl>

<dl class="method">
<dt id="show_ballots.App.select_dir">
<tt class="descname">select_dir</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.select_dir" title="Permalink to this definition">¶</a></dt>
<dd>Pick the directory under which your files are located,
then call create_filelist_from_dir to build a list 
of image files under that directory.</dd></dl>

<dl class="method">
<dt id="show_ballots.App.select_file_to_merge">
<tt class="descname">select_file_to_merge</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#show_ballots.App.select_file_to_merge" title="Permalink to this definition">¶</a></dt>
<dd>Pick the file containing an additional pickled dictionary
to be merged with that currently set.</dd></dl>

<dl class="method">
<dt id="show_ballots.App.set_ballot_folder">
<tt class="descname">set_ballot_folder</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#show_ballots.App.set_ballot_folder" title="Permalink to this definition">¶</a></dt>
<dd>Pick the directory under which a standard numbered
filetree is located.  Standard numbered filetrees
have directories named 00-99 (nn), which in turn contain
subdirectories named 00-99 (mm) or, at the leaves, files
named nnmm00.jpg through nnmm99.jpg</dd></dl>

<dl class="method">
<dt id="show_ballots.App.set_delay_seconds">
<tt class="descname">set_delay_seconds</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#show_ballots.App.set_delay_seconds" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.set_filename_extension">
<tt class="descname">set_filename_extension</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#show_ballots.App.set_filename_extension" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.show_help_bugs">
<tt class="descname">show_help_bugs</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.show_help_bugs" title="Permalink to this definition">¶</a></dt>
<dd>Show help bugs</dd></dl>

<dl class="method">
<dt id="show_ballots.App.show_help_credits">
<tt class="descname">show_help_credits</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.show_help_credits" title="Permalink to this definition">¶</a></dt>
<dd>Show help overview</dd></dl>

<dl class="method">
<dt id="show_ballots.App.show_help_customization">
<tt class="descname">show_help_customization</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.show_help_customization" title="Permalink to this definition">¶</a></dt>
<dd>Show help customization</dd></dl>

<dl class="method">
<dt id="show_ballots.App.show_help_file">
<tt class="descname">show_help_file</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.show_help_file" title="Permalink to this definition">¶</a></dt>
<dd>Show help for file menu</dd></dl>

<dl class="method">
<dt id="show_ballots.App.show_help_license">
<tt class="descname">show_help_license</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.show_help_license" title="Permalink to this definition">¶</a></dt>
<dd>Show help overview</dd></dl>

<dl class="method">
<dt id="show_ballots.App.show_help_lists">
<tt class="descname">show_help_lists</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.show_help_lists" title="Permalink to this definition">¶</a></dt>
<dd>Show help for lists menu</dd></dl>

<dl class="method">
<dt id="show_ballots.App.show_help_overview">
<tt class="descname">show_help_overview</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.show_help_overview" title="Permalink to this definition">¶</a></dt>
<dd>Show help overview</dd></dl>

<dl class="method">
<dt id="show_ballots.App.show_help_precinct">
<tt class="descname">show_help_precinct</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.show_help_precinct" title="Permalink to this definition">¶</a></dt>
<dd>Show help precinct</dd></dl>

<dl class="method">
<dt id="show_ballots.App.show_help_preferences">
<tt class="descname">show_help_preferences</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.show_help_preferences" title="Permalink to this definition">¶</a></dt>
<dd>Show help for preferences menu</dd></dl>

<dl class="method">
<dt id="show_ballots.App.show_help_quickstart">
<tt class="descname">show_help_quickstart</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.show_help_quickstart" title="Permalink to this definition">¶</a></dt>
<dd>Show help overview</dd></dl>

<dl class="method">
<dt id="show_ballots.App.show_help_signature">
<tt class="descname">show_help_signature</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.show_help_signature" title="Permalink to this definition">¶</a></dt>
<dd>Show help signature</dd></dl>

<dl class="method">
<dt id="show_ballots.App.show_vote_cb">
<tt class="descname">show_vote_cb</tt><big>(</big><em>ta</em><big>)</big><a class="headerlink" href="#show_ballots.App.show_vote_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.specify_number_dir">
<tt class="descname">specify_number_dir</tt><big>(</big><em>this_dir</em><big>)</big><a class="headerlink" href="#show_ballots.App.specify_number_dir" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.App.trigger">
<tt class="descname">trigger</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.trigger" title="Permalink to this definition">¶</a></dt>
<dd>trigger is the function which is registered to run 
when the appropriate delay has elapsed AND any events
that were pending have been processed.
The actual processing is a call to displayNextFile</dd></dl>

<dl class="method">
<dt id="show_ballots.App.validate_image_file">
<tt class="descname">validate_image_file</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.App.validate_image_file" title="Permalink to this definition">¶</a></dt>
<dd>validate_image_file makes it easy (or easier) for a user
to run gpg to test the provided vote image archive file
against the signature file. It confirms the existence of gpg,
tries to get our public key, and tries to validate the 
image file archive named at App.archive_name.</dd></dl>

<dl class="method">
<dt id="show_ballots.App.xgo_cb">
<tt class="descname">xgo_cb</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#show_ballots.App.xgo_cb" title="Permalink to this definition">¶</a></dt>
<dd>Start the count if stopped (stopped) is True. Otherwise, do nothing.</dd></dl>

<dl class="method">
<dt id="show_ballots.App.zoom_update_cb">
<tt class="descname">zoom_update_cb</tt><big>(</big><em>adj</em>, <em>hscale</em><big>)</big><a class="headerlink" href="#show_ballots.App.zoom_update_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="show_ballots.BallotVotes">
<em class="property">class </em><tt class="descname">BallotVotes</tt><big>(</big><em>filename</em>, <em>imagenumber</em><big>)</big><a class="headerlink" href="#show_ballots.BallotVotes" title="Permalink to this definition">¶</a></dt>
<dd><dl class="method">
<dt id="show_ballots.BallotVotes.paint">
<tt class="descname">paint</tt><big>(</big><em>drawable</em>, <em>gc</em>, <em>markup</em>, <em>xscalefactor</em>, <em>yscalefactor</em>, <em>imagedpi</em><big>)</big><a class="headerlink" href="#show_ballots.BallotVotes.paint" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="exception">
<dt id="show_ballots.BrowsingException">
<em class="property">exception </em><tt class="descname">BrowsingException</tt><big>(</big><em>args=None</em><big>)</big><a class="headerlink" href="#show_ballots.BrowsingException" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="class">
<dt id="show_ballots.Vote">
<em class="property">class </em><tt class="descname">Vote</tt><big>(</big><em>str</em><big>)</big><a class="headerlink" href="#show_ballots.Vote" title="Permalink to this definition">¶</a></dt>
<dd><dl class="method">
<dt id="show_ballots.Vote.xcoord">
<tt class="descname">xcoord</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.Vote.xcoord" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="show_ballots.Vote.ycoord">
<tt class="descname">ycoord</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.Vote.ycoord" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="function">
<dt id="show_ballots.all_files_in_folder">
<tt class="descname">all_files_in_folder</tt><big>(</big><em>root</em>, <em>patterns='*'</em>, <em>single_level=False</em>, <em>yield_folders=False</em><big>)</big><a class="headerlink" href="#show_ballots.all_files_in_folder" title="Permalink to this definition">¶</a></dt>
<dd>From ORA Python Cookbook. 
This generates all filenames matching patterns in a specified list
under a specified root directory.</dd></dl>

<dl class="function">
<dt id="show_ballots.create_arrow_button">
<tt class="descname">create_arrow_button</tt><big>(</big><em>arrow_type</em>, <em>shadow_type</em><big>)</big><a class="headerlink" href="#show_ballots.create_arrow_button" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="show_ballots.destroy_cb">
<tt class="descname">destroy_cb</tt><big>(</big><em>cb</em>, <em>data</em><big>)</big><a class="headerlink" href="#show_ballots.destroy_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="show_ballots.get_args">
<tt class="descname">get_args</tt><big>(</big><big>)</big><a class="headerlink" href="#show_ballots.get_args" title="Permalink to this definition">¶</a></dt>
<dd>Get command line arguments</dd></dl>

<dl class="function">
<dt id="show_ballots.help_overview_cb">
<tt class="descname">help_overview_cb</tt><big>(</big><em>b</em><big>)</big><a class="headerlink" href="#show_ballots.help_overview_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="show_ballots.import_code">
<tt class="descname">import_code</tt><big>(</big><em>code</em><big>)</big><a class="headerlink" href="#show_ballots.import_code" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="show_ballots.on_delete_event">
<tt class="descname">on_delete_event</tt><big>(</big><em>widget</em>, <em>event</em><big>)</big><a class="headerlink" href="#show_ballots.on_delete_event" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="show_ballots.quit_cb">
<tt class="descname">quit_cb</tt><big>(</big><em>cb</em><big>)</big><a class="headerlink" href="#show_ballots.quit_cb" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="show_ballots.timeout_func">
<tt class="descname">timeout_func</tt><big>(</big><em>app</em>, <em>spinner</em><big>)</big><a class="headerlink" href="#show_ballots.timeout_func" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <h4>Previous topic</h4>
            <p class="topless"><a href="main.html"
                                  title="previous chapter">main module documentation</a></p>
            <h4>Next topic</h4>
            <p class="topless"><a href="scancontrol.html"
                                  title="next chapter">scancontrol module documentation</a></p>
            <h3>This Page</h3>
            <ul class="this-page-menu">
              <li><a href="_sources/show_ballots.txt"
                     rel="nofollow">Show Source</a></li>
            </ul>
          <div id="searchbox" style="display: none">
            <h3>Quick search</h3>
              <form class="search" action="search.html" method="get">
                <input type="text" name="q" size="18" />
                <input type="submit" value="Go" />
                <input type="hidden" name="check_keywords" value="yes" />
                <input type="hidden" name="area" value="default" />
              </form>
              <p class="searchtip" style="font-size: 90%">
              Enter search terms or a module, class or function name.
              </p>
          </div>
          <script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="modindex.html" title="Global Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="scancontrol.html" title="scancontrol module documentation"
             >next</a> |</li>
        <li class="right" >
          <a href="main.html" title="main module documentation"
             >previous</a> |</li>
        <li><a href="index.html">&lt;project&gt;</a> &raquo;</li>
          <li><a href="tools.html" >TEVS tools</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
      &copy; Copyright 2008-2011, Mitch Trachtenberg.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.6.
    </div>
  </body>
</html>